<!DOCTYPE html>
<html>
<head>
	<title>{$name} {$seo_title} {$site_name}</title>
	<meta name="keywords" content="{$seo_keywords}" />
	<meta name="description" content="{$seo_description}">
	<tc_include file="Public:head" />
</head>
<body>
	<tc_include file="Public:nav" />
	<div class="container tc-main">

		<div class="pg-opt pin">
			<div class="container">
				<h2>{$name}</h2>
			</div>
		</div>
		<div class="row">
			<div class="span9">
				<div>
					<php>
						$lists = sp_sql_posts_paged("cid:$cat_id;order:post_date DESC;",10);
					</php>
					<volist name="lists['posts']" id="vo">
						<php>$smeta=json_decode($vo['smeta'], true);</php>

						<div class="list-boxes">
							<h2>
								<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">{$vo.post_title}</a>
							</h2>
							<p>{$vo.post_excerpt|msubstr=0,256}</p>
							<div>
								<div class="pull-left">
									<div class="list-actions">
										<a href="javascript:;"> <i class="fa fa-eye"></i>
											<span>{$vo.post_hits}</span>
										</a>
										<a href="{:U('article/do_like',array('id'=>
											$vo['object_id']))}" class="js-count-btn"> <i class="fa fa-thumbs-up"></i>
											<span class="count">{$vo.post_like}</span>
										</a>
										<a href="{:U('user/favorite/do_favorite',array('id'=>
											$vo['object_id']))}" class="js-favorite-btn" data-title="{$vo.post_title}" data-url="{:U('portal/article/index',array('id'=>$vo['tid']))}" data-key="{:sp_get_favorite_key('posts',$vo['object_id'])}">
											<i class="fa fa-star-o"></i>
										</a>
									</div>
								</div>
								<a class="btn btn-warning pull-right" href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">查看更多</a>
							</div>
						</div>
					</volist>

				</div>
				<div class="pagination">
					<ul>{$lists['page']}</ul>
				</div>
			</div>
			<div class="span3">
              <div class="tc-box">
				<div class="headtitle">
					<h2>关注我们</h2>
				</div>
				 <div class="erweima">
				   <img src="__TMPL__Public/images/qrcode.png" />
				  </div>
				<h4 style="text-align:center ; ">请关注我们，第一时间收看高清直播</h4>
			  </div>
				<!-- JiaThis Button BEGIN -->
				<div id="ckepop">
					<span class="jiathis_txt">分享到：</span>
					<a class="jiathis_button_weixin">微信</a>
					<a href="http://www.jiathis.com/share"  class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a>
					<a class="jiathis_counter_style"></a>
				</div>
				<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1" charset="utf-8"></script>
			</div>
			<!-- JiaThis Button END -->


		</div>
	</div>

	<tc_include file="Public:footer" />
</div>

<!-- JavaScript -->
<tc_include file="Public:scripts" />
</body>
</html>